import { defineStore } from 'pinia';
import { VrlibState } from './interfaces/cusinter';
export const useVrlibStore = defineStore('useVrlib', {
  state: (): VrlibState => {
    return {
      floor: null,
      floorNo: null,
      floorindex: 0,
      mlib: null,
      loading: false,
    };
  },
  persist: {
    paths: ['floor', 'floorNo', 'floorindex', 'mlib'],
  },
});
